package com.lagou.niancheng.core.transaction;

import com.lagou.niancheng.core.config.Configuration;

/**
 * com.lagou.niancheng.core.transaction.TransactionManagerFactory
 *
 * @author 大犬
 * @date 2020/3/27
 */
public interface TransactionManagerFactory {
    /**
     * 创建事务管理器
     *
     * @param configuration
     * @return
     */
    TransactionManager createTransactionManager(Configuration configuration);
}
